<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
    <div>
        <div id="test">test</div>
    </div>
</body>
<script type="text/javascript">
//<![CDATA[
var a = document.getElementById('test');
a.insertAdjacentHTML('afterEnd', 'aaa');
//]]>
</script>
</html>
